/**
 *
 */
import {disabledAuthFilter, filterGlobalPermission} from "@/utils/authFilter"

export const DisabledAuthFilterMixin = {
  props: ['formData1'],
  data(){
    return {

    }
  },
  methods:{
    isDisabledAuth(code){
      return disabledAuthFilter(code,this.formData1);
    },
    isHasPerm(code) {
      return filterGlobalPermission(code);
    }
  }

}